Tourfic\App\TF_Review D

Total Complexity 139
Dependencies 2
Dependents 16
Total lines 706
Lines of code 553
Logical lines of code 261
Comment lines 35
Methods 28
Properties 0

Methods 28

Method Rating Maintainability Complexity Lines of code
tf_archive_single_rating()
D
31 41 98
tf_get_review_fields()
A
39 11 72
tf_single_rating_change_on_base()
A
46 13 36
tf_pending_review_notice()
A
49 10 29
tf_delete_old_review_fields()
A
49 8 30
tf_generate_review_meta_fields()
S
51 6 25
tf_save_rating()
S
57 6 15
tf_calculate_user_ratings()
S
56 5 18
tf_average_rating_change_on_base()
S
61 5 12
tf_average_ratings()
S
59 4 15
tf_review_script()
S
51 2 37
tf_comments_open()
S
68 4 7
tf_review_form()
S
47 1 36
tf_user_has_comments()
S
58 2 17
tf_total_avg_rating()
S
63 3 10
tf_generate_stars()
S
64 3 8
tf_average_rating_percent()
S
68 2 7
tf_set_comment_cookie_callback()
S
68 2 7
tf_calculate_comments_rating()
S
68 2 7
__construct()
S
59 1 13
tf_delete_old_complete_review_button()
S
63 1 12
tf_delete_old_review_fields_button()
S
63 1 12
tf_auto_approve_comments()
S
70 1 6
define_review_constants()
S
79 1 5
tf_remove_comment_meta_box()
S
79 1 3
tf_redirect_user_to_previous_url()
S
82 1 3
tf_based_on_text()
S
64 1 10
tf_comment_reply_link_filter()
S
80 1 3